package com.model.pojo;

import org.springframework.stereotype.Component;


@Component
public class UserPermissions {
    private int menuId;
    private String userName;

    private String menuNameOne;
    private String menuPermissionsOne;
    private String menuNametwo;
    private String menuPermissionsTwo;
    private  Menu menu;

    public UserPermissions() {
    }

    @Override
    public String toString() {
        return "UserPermissions{" +
                "menuId=" + menuId +
                ", userName='" + userName + '\'' +
                ", menuNameOne='" + menuNameOne + '\'' +
                ", menuPermissionsOne='" + menuPermissionsOne + '\'' +
                ", menuNametwo='" + menuNametwo + '\'' +
                ", menuPermissionsTwo='" + menuPermissionsTwo + '\'' +
                ", menu=" + menu +
                '}';
    }

    public UserPermissions(int menuId, String userName, String menuNameOne, String menuPermissionsOne, String menuNametwo, String menuPermissionsTwo, Menu menu) {
        this.menuId = menuId;
        this.userName = userName;
        this.menuNameOne = menuNameOne;
        this.menuPermissionsOne = menuPermissionsOne;
        this.menuNametwo = menuNametwo;
        this.menuPermissionsTwo = menuPermissionsTwo;
        this.menu = menu;
    }

    public int getMenuId() {
        return menuId;
    }

    public void setMenuId(int menuId) {
        this.menuId = menuId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMenuNameOne() {
        return menuNameOne;
    }

    public void setMenuNameOne(String menuNameOne) {
        this.menuNameOne = menuNameOne;
    }

    public String getMenuPermissionsOne() {
        return menuPermissionsOne;
    }

    public void setMenuPermissionsOne(String menuPermissionsOne) {
        this.menuPermissionsOne = menuPermissionsOne;
    }

    public String getMenuNametwo() {
        return menuNametwo;
    }

    public void setMenuNametwo(String menuNametwo) {
        this.menuNametwo = menuNametwo;
    }

    public String getMenuPermissionsTwo() {
        return menuPermissionsTwo;
    }

    public void setMenuPermissionsTwo(String menuPermissionsTwo) {
        this.menuPermissionsTwo = menuPermissionsTwo;
    }

    public Menu getMenu() {
        return menu;
    }

    public void setMenu(Menu menu) {
        this.menu = menu;
    }
}
